package com.cloud.pikachu.csd.service.impl;

import com.cloud.pikachu.csd.dao.WorkItemDao;
import com.cloud.pikachu.csd.domain.WorkItem;
import com.cloud.pikachu.csd.service.WorkItemService;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * 工单信息ServiceImpl
 */
@Service
public class WorkItemServiceImpl implements WorkItemService {
    private static final Logger logger = LoggerFactory.getLogger(WorkItemServiceImpl.class);
    @Autowired
    private WorkItemDao workItemDao;

    @Override
    public List<WorkItem> selectWorkItems(String orderId) {
        return workItemDao.selectWorkItems(orderId);
    }
}